//
//  articleView.m
//  coocsless
//
//  Created by fabian on 02.03.11.
//  Copyright 2011 roboboogie.us. All rights reserved.
//

#import "articleView.h"


@implementation ArticleView

@synthesize label;

- (id)initWithFrame:(CGRect)frame {
    
    self = [super initWithFrame:frame];
    if (self) {
		
        label = [[UILabel alloc] initWithFrame:CGRectMake(400, 300, 400, 20)];
		[label setBackgroundColor:[UIColor clearColor]];
		[label setTextColor:[UIColor blackColor]];
		[label setFont:[UIFont fontWithName:@"AmericanTypewriter" size:14]];
		[label setText:@"Hello World, Goodbye XIB, Goodbye Cocos2d"];
		[label setTextAlignment:UITextAlignmentCenter];
		
		[self addSubview:label];
			
    }
    return self;
}

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code.
}
*/

- (void)dealloc {
	[label release];
    [super dealloc];
}


@end
